package com.krui.iweibo.model;

import java.util.Map;

public class Task {

	/** 任务ID*/
	private int taskId;
	/** 任务参数*/
	private Map<String, Object> taskParams;
	
	public static final int WEIBO_LOGIN = 1;
	
	public static final int GET_ACCESS_TOKEN = WEIBO_LOGIN + 1;
	
	public static final int GET_AUTHORIZATIONURL = GET_ACCESS_TOKEN + 1;
	
	public static final int GET_USER_ICON = GET_AUTHORIZATIONURL + 1;
	
	public static final int WEIBO_FRIEDNS_TIMELINE = GET_USER_ICON + 1;
	
	public Task(int taskId,Map<String, Object> taskParams){
		this.taskId = taskId;
		this.taskParams = taskParams;
	}


	public int getTaskId() {
		return taskId;
	}


	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}


	public Map<String, Object> getTaskParams() {
		return taskParams;
	}


	public void setTaskParams(Map<String, Object> taskParams) {
		this.taskParams = taskParams;
	}

	
	
	
}
